﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	
	<query name="GetCategoryByName">
	  from Category c where c.Name = 'asdas'
	</query>	
	<query name="GerPersonsByNameAndAddress">
	  from Person p 
	  where p.Address.Street = :addressStreet 
	  and p.FirstName = :asasa 
	  and p.FirstName = :nameLata 
	  and p.Address = :lata	and  p.Address
	</query>
</hibernate-mapping>